package zust.se.delicious.domain;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

public class Bookmark {
	private int id;
	private String title;
	private String url;
	private String description;
	private boolean publicFlag;

	public boolean isPublicFlag() {
		return publicFlag;
	}

	public void setPublicFlag(boolean publicFlag) {
		this.publicFlag = publicFlag;
	}

	private Timestamp createTime;

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	private User user;

	private Set<Tags> tagsSet = new HashSet<Tags>();

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Set<Tags> getTagsSet() {
		return tagsSet;
	}

	public void setTagsSet(Set<Tags> tagsSet) {
		this.tagsSet = tagsSet;
	}
}
